home *** CD-ROM | disk | FTP | other *** search
- on mouseDown me
- repeat while the mouseDown
- if the locV of sprite 40 = 190 then
- sprite(40).color = rgb(128, 128, 128)
- set the blend of sprite 40 to 100
- else
- if the locV of sprite 40 < 190 then
- set the blend of sprite 40 to 100
- redr = ((55 + (135 - the locV of sprite 40)) * 1.88900000000000001) + 128
- redg = redr
- redb = redg
- sprite(40).color = rgb(redr, redg, redb)
- else
- set the blend of sprite 40 to (191 + (135 - the locV of sprite 40)) * 0.74099999999999999
- end if
- end if
- set the locV of sprite 40 to the mouseV
- set the locV of sprite 59 to the mouseV
- if the blend of sprite 40 < 10 then
- showit(59, 59)
- else
- hideit(59, 59)
- end if
- updateStage()
- end repeat
- end
-
- on mouseUp me
- set the locV of sprite 40 to the mouseV
- set the locV of sprite 59 to the mouseV
- end
-